home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / util / cli / nuke10.lha / nuke10 / nuke.doc < prev    next >
Encoding:
Text File  |  1995-03-29  |  3.6 KB  |  118 lines

  1.  
  2.                                      ----
  3.                                      Nuke
  4.                                      ----
  5.  
  6.                          Secure file deletion command
  7.                              by Giovanni Gigante
  8.  
  9.                                  Version 1.0
  10.  
  11.  
  12.  
  13. 1. Short
  14.  
  15. This small program is a secure "delete" command.
  16. Secure means that the file is physically destroyed and cannot be recovered
  17. in any way.
  18.  
  19.  
  20. 2. Requirements
  21.  
  22. Any amiga.
  23.  
  24.  
  25. 3. Distribution
  26.  
  27. This program is freeware and can be distributed with no limitations,
  28. provided this doc file is enclosed and the author's name is not modified.
  29.  
  30.  
  31. 4. Purpose
  32.  
  33. The standard "delete" command deletes a file only logically, i.e. its
  34. area is marked as free but the data are not really erased. "Undelete"
  35. commands do exist, and can recovery those data. This is dangerous if
  36. you are handling sensitive information and really want to get rid of it.
  37. For instance, suppose you are using an encryption package such as PGP.
  38. If you want to keep secured your secret message, you don't want to have
  39. copies of the plain text hanging around. However this is exactly what
  40. happens if you delete it the usual way, because anyone could eventually
  41. use a file recovery utility and retrieve the files. So instead of
  42. simply deleting your sensitive files, NUKE them, and feel safe.
  43.  
  44.  
  45. 5. Security provided
  46.  
  47. Nuke overwrites the file three times (with 0s, 1s and 0s) before logically
  48. deleting it.  This procedure is pretty secure preventing any recovery
  49.  
  50.  
  51. 6. Source code
  52.  
  53. Since this program is meant to be used in a sensitive environment, the
  54. source code is also included, so that the really paranoid ones can verify
  55. that it is all right and can eventually recompile it.
  56. The C source code is ANSI-compatible and can be also compiled on other
  57. systems.
  58.  
  59.  
  60. 7. Usage
  61.  
  62. From your shell, simply type:
  63. NUKE <filename>
  64. and the file will be totally destroyed.
  65. Because this is a very dangerous command, Nuke does *not* accept wildcards.
  66. You have to nuke your files one at time. You don't want to nuke your precious
  67. files by mistake, right? :). Anyway, if you really need wildcards, you can
  68. always use the SPATCH script (provided in the S directory with all OS
  69. releases beyond 1.3).
  70. The executable included in this archive is pure and can be made resident.
  71.  
  72.  
  73. 8. Tests made and possible security problems
  74.  
  75. The program has been carefully tested on the following setup: A1200,
  76. 2+4Mb RAM, Samsung SHD-30560A hard disk.
  77. Note that the program uses for three times freopen() and fclose() to
  78. overwrite the file. This is meant to ensure that the file is physically
  79. overwritten on the disk. At the abovementioned tests the program behaved
  80. correctly. However, it is theorically possible that on certain kinds of
  81. "smart cached" devices the three changes are made on the buffer only, and
  82. are not written to the disk except for the last passage. This could
  83. seriously degrades the security effectiveness of the deletion.
  84.  
  85.  
  86. 9. Disclaimer
  87.  
  88. THE ENTIRE RISK AS TO THE USE OF THIS PROGRAM OR ITS SOURCE CODE IS ASSUMED
  89. BY THE USER. IN NO EVENT WILL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  90. INCIDENTAL OR CONSEQUENTIAL DAMAGE RESULTING FROM THIS PROGRAM OR ITS SOURCE
  91. CODE.
  92.  
  93. After all, everbody knows that a Nuke is a dangerous device. :-)
  94.  
  95.  
  96. 10. File hystory
  97.  
  98. V 1.0  04-mar-95  first release.
  99.  
  100.  
  101. 11. Author
  102.  
  103. Nuke has been written by Giovanni Gigante.
  104. Suggestions and comments are welcome! (not nukes, please).
  105. E-mail: ggntgv01@cidoc.iuav.unive.it
  106.  
  107.  
  108. 12. Archive contents
  109.  
  110. nuke            executable compiled with SAS C 6.0
  111. nuke.c          source code
  112. nuke.doc        this file
  113. nuke.readme     short description
  114. SCOPTIONS       compiler options
  115.  
  116.  
  117. ---end of file---
  118.